<template>
  <div>
      <h1>params的参数：{{$route.params.keyWord}}-------{{keyWord}}</h1>
      <h1>Query参数：{{$route.query.k}}------{{k}}</h1>
  </div>
</template>

<script>
  export default {
      name:'Search',
      props:['keyWord','k']
  }
</script>

<style scoped>
  
</style>